#include "Lock.h"


Lock::Lock( Mutex* mutex )
{
	m_mutex = mutex;
	m_mutex->Lock();
}

Lock::~Lock()
{
	m_mutex->Unlock();
}
